package com.bootdo.kaoqin.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-09-27 11:21:59
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class KaoqinOrder extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//用户ID
		@HapiFeild("用户ID")
	private Long userId;
	
	//用户名
		@HapiFeild("用户名")
	private String userName;
	
	//员工ID
		@HapiFeild("员工ID")
	private Long empId;
	
	//员工名
		@HapiFeild("员工名")
	private String empName;
	
	//班级ID
		@HapiFeild("班级ID")
	private Long classId;
	
	//班级名
		@HapiFeild("班级名")
	private String className;
	
	//城市ID
		@HapiFeild("城市ID")
	private Long cityId;
	
	//城市名
		@HapiFeild("城市名")
	private String cityName;
	
	//创建日期
		@HapiFeild("创建日期")
	private Date createDate;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;
	
	//打卡时间
		@HapiFeild("打卡时间")
	private Date createTimeTime;

	//类型 0是正常 1是早退 2是迟到
	private Integer type;
	//配置 ID
	private Long configId;
	//配置名字
	private String configName;
	//是否迟到
	private Integer isTimeout;
	//迟到秒数
	private Integer timeoutNum;
	private Long groupId;
	private String groupName;


	private String mobile;


	@NotColumn
	private String startTime;
	@NotColumn
	private String endTime;


    public KaoqinOrder(){
    
    	this.createTime = new Date();
    }

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Long getGroupId() {
		return groupId;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getConfigId() {
		return configId;
	}

	public void setConfigId(Long configId) {
		this.configId = configId;
	}

	public String getConfigName() {
		return configName;
	}

	public void setConfigName(String configName) {
		this.configName = configName;
	}

	public Integer getIsTimeout() {
		return isTimeout;
	}

	public void setIsTimeout(Integer isTimeout) {
		this.isTimeout = isTimeout;
	}

	public Integer getTimeoutNum() {
		return timeoutNum;
	}

	public void setTimeoutNum(Integer timeoutNum) {
		this.timeoutNum = timeoutNum;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户ID
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户ID
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：用户名
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：用户名
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：员工ID
	 */
	public void setEmpId(Long empId) {
		this.empId = empId;
	}
	/**
	 * 获取：员工ID
	 */
	public Long getEmpId() {
		return empId;
	}
	/**
	 * 设置：员工名
	 */
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	/**
	 * 获取：员工名
	 */
	public String getEmpName() {
		return empName;
	}
	/**
	 * 设置：班级ID
	 */
	public void setClassId(Long classId) {
		this.classId = classId;
	}
	/**
	 * 获取：班级ID
	 */
	public Long getClassId() {
		return classId;
	}
	/**
	 * 设置：班级名
	 */
	public void setClassName(String className) {
		this.className = className;
	}
	/**
	 * 获取：班级名
	 */
	public String getClassName() {
		return className;
	}
	/**
	 * 设置：城市ID
	 */
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：城市ID
	 */
	public Long getCityId() {
		return cityId;
	}
	/**
	 * 设置：城市名
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	/**
	 * 获取：城市名
	 */
	public String getCityName() {
		return cityName;
	}
	/**
	 * 设置：创建日期
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：创建日期
	 */
	public Date getCreateDate() {
		return createDate;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：打卡时间
	 */
	public void setCreateTimeTime(Date createTimeTime) {
		this.createTimeTime = createTimeTime;
	}
	/**
	 * 获取：打卡时间
	 */
	public Date getCreateTimeTime() {
		return createTimeTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
